{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% extends "base.html" %}
{% load static %}
{% load origin %}
{% load django_bootstrap5 %}
{% block title %}Sign in{% endblock %}
{% block content %}
    {% origin %}
    <h1>Sign in</h1>
    <form method="post" id="dt-login-form">
        {% csrf_token %}
        {% bootstrap_form form %}
        <div class="mt-4 mb-3">
            {% bootstrap_button "Sign in" button_type="submit" %}
            {% url 'ietf.ietfauth.views.password_reset' as reset_url %}
            {% bootstrap_button "Forgot your password?" button_type="link" button_class="btn-secondary" href=reset_url %}
        </div>
        Don't have an account? <a href="{% url 'ietf.ietfauth.views.create_account' %}">Create an account</a>.
    </form>
{% endblock %}
{% block js %}
    <script src="{% static 'ietf/js/login.js' %}"></script>
{% endblock %}